package com.fyx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fyx.entity.*;
import org.springframework.data.domain.Pageable;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Map;

public interface IActiveDataService extends IService<SysDictDetail> {

    Map getMeituReList(MeituanReCount meituanReCount, Pageable pageable);

    Map gameEmail(GameEmailEntity gameEmailEntity, Pageable pageable);

    boolean delMail(String  id,String flag) throws IOException;

    Map telephoneCharge(TelephoneChargeEntity telephoneChargeEntity, Pageable pageable);

//    void convert(TelephoneChargeEntity telephoneChargeEntity);

    void sendhf(WithdrawEntity withdrawEntity);

    Map getActiveList(ActivityListEntity activityListEntity, Pageable pageable);

    Map getShare(Pageable pageable);

    Map getShare1(String type);

    String doShare (MultipartFile file);

    boolean addShare(ShareEntity shareEntity);

    boolean editShare(ShareEntity shareEntity);

    boolean delShare(int  id);

    boolean addActive(ActivityListEntity activityListEntity);

    boolean delActive(String  id,String flag);

    boolean toActiveNotice(String  id) throws IOException;

    boolean editActive(ActivityListEntity activityListEntity);
}
